package day27_ver2;

import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JButton;

import day27.Data;
import day27.MapFrame;

import java.awt.TextField;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class MaterInputPanel extends JPanel {
	private TextField textField_1 = new TextField();
	/**
	 * Create the panel.
	 */
	public MaterInputPanel() {
		setLayout(null);
		
		JLabel label = new JLabel("품목코드");
		label.setBounds(12, 26, 57, 15);
		add(label);
		
		JLabel lblNewLabel = new JLabel("품목명");
		lblNewLabel.setBounds(12, 69, 57, 15);
		add(lblNewLabel);
		
		JLabel lblNewLabel_1 = new JLabel("단가");
		lblNewLabel_1.setBounds(12, 119, 57, 15);
		add(lblNewLabel_1);
		
		JLabel lblNewLabel_2 = new JLabel("제품 사양");
		lblNewLabel_2.setBounds(12, 157, 57, 15);
		add(lblNewLabel_2);
		
		JLabel lblNewLabel_3 = new JLabel("거래처");
		lblNewLabel_3.setBounds(12, 200, 57, 15);
		add(lblNewLabel_3);
		
		JButton btnTn = new JButton("입력");
		
			
				
			
	
			
				
				
				
		
		btnTn.addMouseListener(new MouseAdapter() {
			@Override
			public void mouseClicked(MouseEvent arg0) {
				
				
				
				
				
				
				
				
				
			}
		});
		btnTn.setBounds(12, 256, 97, 23);
		add(btnTn);
		
		JButton btnTkr = new JButton("삭제");
		btnTkr.setBounds(140, 256, 97, 23);
		add(btnTkr);
		
		TextField textField = new TextField();
		textField.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				
			}
		});
		textField.setBounds(75, 18, 263, 35);
		add(textField);
		
		
		textField_1.setBounds(75, 59, 263, 35);
		add(textField_1);
		
		TextField textField_2 = new TextField();
		textField_2.setBounds(75, 100, 263, 40);
		add(textField_2);
		
		TextField textField_3 = new TextField();
		textField_3.setBounds(75, 149, 263, 35);
		add(textField_3);
		
		TextField textField_4 = new TextField();
		textField_4.setBounds(73, 190, 265, 35);
		add(textField_4);

	}
}
